package demo;

public class B extends A{

    public void funB() {
        System.out.println("B::funB()");
    }

    public void funA() {
        System.out.println("B::fun()");
    }

    public void funA(int a) {
        System.out.println("B::fun() "+a);
    }

    public void method() {
        funB();
        System.out.println("======");
        funA();
        super.funA();
        System.out.println("======");
        funA(10);
    }

    public static void main(String[] args) {

        B b1 = new B();
        b1.method();

    }
}
